package com.lrkj.payfee.service;

import java.util.List;
import com.lrkj.payfee.domain.ReceiptDetail;
import com.lrkj.payfee.domain.RuleCost;

/**
 * 收款单明细Service接口
 *
 * @author yajun_ren
 * @date 2021-08-06
 */
public interface IReceiptDetailService
{
    /**
     * 查询收款单明细
     *
     * @param receiptDetailId 收款单明细ID
     * @return 收款单明细
     */
    public ReceiptDetail selectReceiptDetailById(String receiptDetailId);

    /**
     * 查询收款单明细列表
     *
     * @param receiptDetail 收款单明细
     * @return 收款单明细集合
     */
    public List<ReceiptDetail> selectReceiptDetailList(ReceiptDetail receiptDetail);

    /**
     * 新增收款单明细
     *
     * @param receiptDetail 收款单明细
     * @return 结果
     */
    public int insertReceiptDetail(ReceiptDetail receiptDetail);

    /**
     * 修改收款单明细
     *
     * @param receiptDetail 收款单明细
     * @return 结果
     */
    public int updateReceiptDetail(ReceiptDetail receiptDetail);

    /**
     * 批量删除收款单明细
     *
     * @param receiptDetailIds 需要删除的收款单明细ID
     * @return 结果
     */
    public int deleteReceiptDetailByIds(String[] receiptDetailIds);

    /**
     * 删除收款单明细信息
     *
     * @param receiptDetailId 收款单明细ID
     * @return 结果
     */
    public int deleteReceiptDetailById(String receiptDetailId);



    /**
     * 批量新增
     * */
    public int doSaveList(List<ReceiptDetail> batchBean);


    /**
     * 查询收款单明细
     *
     * @param receiptDetailIds 收款单明细ID
     * @return 收款单明细
     */
    public List<ReceiptDetail> selectReceiptDetailByIds(String[] receiptDetailIds);
}
